package hrms.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import hrms.entity.Company;
import hrms.util.Result;

public interface CompanyService extends Service<Company>{
	public Result<List<Company>> findAll(String index);
	public Result<Map<String,String>> findDetail(String companyId);
	public Result<Object> deleteCompanyInfo (String companyId , HttpServletRequest req);
	public Result<Object> updateCompanyInfo	(HttpServletRequest req);
	public Result<Object> addCompanyInfo (HttpServletRequest req);
	public Result<Company> findOne (String companyId);
}
